/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package creditscorejavaapplicationgui;

import java.awt.Container;
import java.awt.GridLayout;
import javax.swing.JFrame;

/**
 *
 * @author user
 */
public class MainFrame extends JFrame {

    private CreditScorePanel creditScorePanel;

    /**
     *
     */
    public MainFrame(){
        super("Credit Score App");

        Container contenedor = this.getContentPane();
        contenedor.setLayout(new GridLayout(1,1));

        creditScorePanel = new CreditScorePanel();
        contenedor.add(creditScorePanel);

        setSize(800, 300);
        setVisible(true);
        
    }

    /**
     * 
     * @param args
     */
    public static void main(String args[]){
        new MainFrame().setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
